
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>nginx · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="apidocs.html" />
    
    
    <link rel="prev" href="mysql.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    热度后台交接文档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../wen-dang-lian-jie.html">
            
                <a href="../wen-dang-lian-jie.html">
            
                    
                    文档链接
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../chapter1.html">
            
                <a href="../chapter1.html">
            
                    
                    技术栈
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../hou-tai-dai-ma.html">
            
                <a href="../hou-tai-dai-ma.html">
            
                    
                    后台代码
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="hou-tai-dai-ma-jie-gou-jie-shao.html">
            
                <a href="hou-tai-dai-ma-jie-gou-jie-shao.html">
            
                    
                    后台代码结构介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="fu-wu-qi-deng-lu-ji-dai-ma-la-qu-geng-xin.html">
            
                <a href="fu-wu-qi-deng-lu-ji-dai-ma-la-qu-geng-xin.html">
            
                    
                    服务器登陆及代码拉取更新
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="ping-mu.html">
            
                <a href="ping-mu.html">
            
                    
                    pm2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="mysql.html">
            
                <a href="mysql.html">
            
                    
                    mysql和sequelizejs
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4.5" data-path="nginx.html">
            
                <a href="nginx.html">
            
                    
                    nginx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="apidocs.html">
            
                <a href="apidocs.html">
            
                    
                    apidocs
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../lian-xi-wo.html">
            
                <a href="../lian-xi-wo.html">
            
                    
                    更多问题
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >nginx</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <p><strong>nginx&#x4ECB;&#x7ECD;</strong></p>
<p><a href="https://nginx.org/" target="_blank">https://nginx.org/</a> nginx&#x5B98;&#x7F51;</p>
<p>nginx &#x7684;&#x914D;&#x7F6E;&#x5728;</p>
<p>/etc/nginx/conf.d/api.conf &#x4E0B;&#x9762; &#x76EE;&#x524D;&#x53EA;&#x6709;&#x4E00;&#x4E2A;&#x914D;&#x7F6E;&#x6587;&#x4EF6;</p>
<p>&#x914D;&#x7F6E;&#x5185;&#x5BB9;&#x662F;&#x76D1;&#x542C;80&#x7AEF;&#x53E3;</p>
<p>&#x8BBF;&#x95EE;&#x9ED8;&#x8BA4;&#x8DEF;&#x5F84;&#x662F; /data/www/hot_html (&#x524D;&#x7AEF;&#x754C;&#x9762;)</p>
<p>&#x8BBF;&#x95EE;/api/&#x7684;&#x8DEF;&#x5F84; &#x4F1A;&#x8D70;&#x5230;&#x4EE3;&#x7406;127.0.0.1:6666&#x670D;&#x52A1;&#x5668;&#x8DEF;&#x5F84;</p>
<p>&#x8BBF;&#x95EE;/doc/&#x7684;&#x8DEF;&#x5F84; &#x4F1A;&#x8BBF;&#x95EE;/data/www&#x4E0B;&#x9762;&#x7684;doc&#x76EE;&#x5F55;</p>
<p>&#x8BBF;&#x95EE;/gitbook/&#x7684;&#x8DEF;&#x5F84; &#x4F1A;&#x8BBF;&#x95EE;/data/www&#x4E0B;&#x9762;&#x7684;gitbook&#x76EE;&#x5F55;</p>
<p>nginx &#x7684;&#x547D;&#x4EE4;</p>
<p>nginx &#x542F;&#x52A8;ngxin</p>
<p>nginx -s reload &#x91CD;&#x542F;nginx</p>
<p>nginx -s stop &#x5173;&#x95ED;nginx</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="mysql.html" class="navigation navigation-prev " aria-label="Previous page: mysql和sequelizejs">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="apidocs.html" class="navigation navigation-next " aria-label="Next page: apidocs">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"nginx","level":"1.4.5","depth":2,"next":{"title":"apidocs","level":"1.4.6","depth":2,"path":"hou-tai-dai-ma/apidocs.md","ref":"hou-tai-dai-ma/apidocs.md","articles":[]},"previous":{"title":"mysql和sequelizejs","level":"1.4.4","depth":2,"path":"hou-tai-dai-ma/mysql.md","ref":"hou-tai-dai-ma/mysql.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"hou-tai-dai-ma/nginx.md","mtime":"2018-03-19T10:54:57.216Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-03-19T11:14:27.115Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

